package com.senven.common.pojo.feign;



import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @BelongsProject: senven-orderfood-parent
 * @BelongsPackage: com.senven.pojo.feign
 * @unthor : YSH
 * @date : 2022/8/29 20:26
 */
@FeignClient(value = "senven-orderfood-permission")
public interface PermissionFeign {

//    @GetMapping("/api/permission/user/findByUsername")
//    public User findByUsername(@RequestParam String username);

    @GetMapping("/api/permission/permission/selectPermissionByUserid")
    List<String> findPermissionByUserid(@RequestParam String userid);
}

